package com.zbzly.video.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/key")
@RestController
public class KeyController {
    //视频加密信息
    @RequestMapping("/secret.info")
    public String secretInfo() {
        return "http://127.0.0.1:12321/key/secret.key\n" +
                "http://127.0.0.1:12321/key/secret.key";
    }

    //密钥信息
    @RequestMapping("/secret.key")
    public String secretKey() {
        return "qwertyuiop123456";
    }
}
